'use strict';

const Controller = require('egg').Controller;

class SortPriceController extends Controller {
  async index() {
    const { ctx } = this;
    var data = await ctx.service.goods.sortPrice(ctx.query);
    ctx.body ={
       code:200,
       res:data,
       msg:"商品价格排序"
    }
  }
}

module.exports = SortPriceController;